package model;

public class Common {
    public static class Response {
        public int code;
        public String message;
        public Object data;
        public int timestamp;

        public Response(int code, String message, Object data, int timestamp) {
            this.code = code;
            this.message = message;
            this.data = data;
            this.timestamp = timestamp;
        }
    }

    public static class PageModel {
        public int page;
        public int limit;

        public PageModel(int page, int limit) {
            this.page = page;
            this.limit = limit;
        }
    }
}